package com.hxzy.spring.car;

import com.hxzy.spring_bean.A;

public class Car {
    private String brand;
    private String color;
    private double price;
    private A a;

    public Car(String brand, String color, double price,A a) {
        this.brand = brand;
        this.color = color;
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public String getColor() {
        return color;
    }

    public double getPrice() {
        return price;
    }

    public A getA() {
        return a;
    }

    @Override
    public String toString() {
        return "Car [brand=" + brand + ", color=" + color + ", price=" + price + ", a=" + a + "]";
    }

}
